package net.butfly.bus.server.impl;

import net.butfly.albacore.exception.SystemException;
import net.butfly.bus.EntryPoint;
import net.butfly.bus.Request;
import net.butfly.bus.Response;
import net.butfly.bus.server.ServerWrapper;

public class EntryPointImpl implements EntryPoint {
	@Override
	public Response invoke(Request request) {
		try {
			return ServerWrapper.execute(request);
		} catch (Exception e) {
			throw new SystemException("");
		}
	}
}
